package xin.basic.repository;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import xin.basic.model.Dict;

import java.util.List;

/**
 * <pre>
 * 数据字典仓库
 * </pre>
 *
 * @author lixin_ma@outlook.com
 * @version 1.0
 * @since 2018/8/10
 */
@Repository
public interface DictRepository extends CrudRepository<Dict, String> {
    List<Dict> findByGroupCode(String groupCode);
}
